package com.example.weather_plus.data.network;

import retrofit2.Call;

import com.example.weather_plus.data.model.AQIInfo;
import com.example.weather_plus.data.model.DailyForecastInfo;
import com.example.weather_plus.data.model.HourlyForecastInfo;
import com.example.weather_plus.data.model.CityLocation;
import com.example.weather_plus.data.model.WeatherInfo;

import retrofit2.http.GET;
import retrofit2.http.Query;

public interface WeatherApiService {
    @GET("weather/now")
    Call<WeatherInfo> getNowWeather(@Query("location") String location, @Query("key") String apiKey);

    @GET("weather/7d")
    Call<DailyForecastInfo> getForecast(@Query("location") String location, @Query("key") String apiKey);

    @GET("air/now")
    Call<AQIInfo> getAQI(@Query("location") String location, @Query("key") String apiKey);

    @GET("weather/24h")
    Call<HourlyForecastInfo> getHourlyForecast(@Query("location") String location, @Query("key") String apiKey);
}